/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 * 描述: TODO <br/>
 *
 * @author framework generator
 * @date 2022年08月24日
 * @version 2.0
 */
package com.icinfo.cloud.provider.punish.execute.mapper;

import com.icinfo.cloud.provider.punish.approval.vo.WaitPageEachColorNumVo;
import com.icinfo.cloud.provider.punish.execute.dto.ExecuteMainInfoRequest;
import com.icinfo.cloud.provider.punish.execute.model.ExecuteMainInfo;
import com.icinfo.cloud.provider.punish.execute.vo.ExecuteApprovalVo;
import com.icinfo.cloud.provider.punish.execute.vo.ExecuteMainInfoVo;
import com.icinfo.framework.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 描述: 裁执分离主表 execute_main_info 对应的Mapper接口.<br>
 *
 * @author framework generator
 * @date 2022年08月24日
 */
public interface ExecuteMainInfoMapper extends Mapper<ExecuteMainInfo> {

    /**
     * 描述: 裁执分离列表,分页查询
     *
     * @param request
     * @return list
     * @author zhanghongqiang
     * @Date 2022/8/25
     */
    List<ExecuteMainInfoVo> selectExecuteMainList(ExecuteMainInfoRequest request);

    /**
     * 描述: 裁执分离列表,时效条件查询（红黄蓝）
     *
     * @param request
     * @return com.icinfo.framework.common.web.Result
     * @author zhanghongqiang
     * @Date 2022/8/31
     */
    WaitPageEachColorNumVo selectExecutePrescription(ExecuteMainInfoRequest request);
    /**
     * 描述: 裁执分离列表,状态数量
     *
     * @param request
     * @return com.icinfo.framework.common.web.Result
     * @author zhanghongqiang
     * @Date 2022/8/31
     */
    Integer selectExecuteMainCount(ExecuteMainInfoRequest request);
    /**
     * 查询
     * @param: executeId
     * @return: ExecuteMainInfoVo
     * @Author: wuzhihui
     * @Date: 2022/09/02
     */
    ExecuteMainInfoVo selectExecuteMainInfoVo(String executeId);

    /**
     * 描述: 审批详情页裁执分离基本信息
     *
     * @param executeId
     * @return com.icinfo.framework.common.web.Result
     * @author zhanghongqiang
     * @Date 2022/9/6
     */
    ExecuteApprovalVo selectExecuteApprovalDetail(String executeId);
}